import Register from "@/component/Register.vue";
import Login from "@/component/Login.vue";
import {createMemoryHistory, createRouter} from "vue-router";
import Category from "@/component/Category.vue";

const routes = [
    { path: '/login', component: Login },
    { path: '/register', component: Register },
    { path: '/category', component: Category },
]

const router = createRouter({
    history: createMemoryHistory(),
    routes,
})

export default router;